/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package freewolf;

import com.puzzud.engine.core.Entity;

/**
 *
 * @author puzzud
 */
public class Player extends Entity
{
    String name;
    Person avatar;

    public Person getAvatar()
    {
        return( avatar );
    }

    public void setAvatar( Person avatar )
    {
        this.avatar.setOwner( null );
        this.avatar = avatar;
        this.avatar.setOwner( this );
    }

    public String getName()
    {
        return( name );
    }

    public void setName( String name )
    {
        this.name = name;
    }
}
